﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test
{
     class Router
    {
        //Port port = new Port();

        //public Router()
        //{
        //    port.DataReceived += new Port.HandleDataReceived(HandleEvents);
        //}

        //public void Dupa()
        //{
        //    port.CallEvent();
        //}

        //void HandleEvents(object sender,  ClassLibrary.NetworkEventType networkEventType)
        //{
        //    switch (networkEventType)
        //    {
        //        case ClassLibrary.NetworkEventType.DataReceived:
        //            Console.WriteLine("SUCCESS");
        //            break;
        //        default:
        //            Console.WriteLine("FAILED");
        //            break;
        //    }
        //}


    }
}
